using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ComponentFactory.Krypton.Toolkit;
using System.IO;
using Astudio.Helperforms;
using Astudio.FileManagement.Forms;

namespace Astudio
{
    public partial class Editor : ComponentFactory.Krypton.Toolkit.KryptonForm
    {
        /// <summary>
        /// Gets the current Form
        /// </summary>
        public AutorunForm CurrentForm { get; set; }

        public Editor()
        {
            InitializeComponent();
        }

        public void UpdateEditor()
        {
        }

        public void CreateNewMenu(FormBorderStyle borderStyle)
        {
            AutorunForm form = new AutorunForm();
            form.FormBorderStyle = borderStyle;
            form.MdiParent = this;
            form.Show();
        }

        private void newToolStripButton_Click(object sender, EventArgs e)
        {
            NewFile dlg = new NewFile();
            dlg.Editor = this;
            dlg.ShowDialog();
        }

        
    }
}